package top.v5it.japi.plus.core.api;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.ZoneId;

/**
 * 基础类，定义接收时间
 *
 * @author zhanpu
 * @date 20-11-12
 */
@Data
abstract class AbstractReturn implements Serializable {

    private static final long serialVersionUID = 3832172379830886524L;

    /**
     * 接收时间，相对客户端来说
     */
    private final LocalDateTime receiveTime = LocalDateTime.now(ZoneId.systemDefault());
}
